gtk4.git
15 years agoImplement some more vfuncs in GdkOffscreenWindow
Matthias Clasen [Tue, 21 Dec 2010 19:20:19 +0000 (14:20 -0500)]
Implement some more vfuncs in GdkOffscreenWindow

15 years agoMore include shuffling; keep X extension headers to ourselves
Matthias Clasen [Tue, 21 Dec 2010 19:17:02 +0000 (14:17 -0500)]
More include shuffling; keep X extension headers to ourselves

15 years agoCheck the right library for symbols
Matthias Clasen [Tue, 21 Dec 2010 17:41:29 +0000 (12:41 -0500)]
Check the right library for symbols

15 years agoFix another typo
Matthias Clasen [Tue, 21 Dec 2010 17:32:34 +0000 (12:32 -0500)]
Fix another typo

15 years agoFix a silly typo
Matthias Clasen [Tue, 21 Dec 2010 17:19:03 +0000 (12:19 -0500)]
Fix a silly typo

15 years agoDisable the GtkPlug xi2 hack more thoroughly
Matthias Clasen [Tue, 21 Dec 2010 16:29:18 +0000 (11:29 -0500)]
Disable the GtkPlug xi2 hack more thoroughly

15 years agoDetangle includes for GdkDeviceManager subclasses
Matthias Clasen [Tue, 21 Dec 2010 16:27:27 +0000 (11:27 -0500)]
Detangle includes for GdkDeviceManager subclasses

15 years agoDetangle includes for device subclasses
Matthias Clasen [Tue, 21 Dec 2010 15:37:21 +0000 (10:37 -0500)]
Detangle includes for device subclasses

15 years agoForgotten file
Matthias Clasen [Tue, 21 Dec 2010 14:56:42 +0000 (09:56 -0500)]
Forgotten file

15 years agoRename GdkAppLaunchContextX11 to GdkX11AppLaunchContext
Matthias Clasen [Tue, 21 Dec 2010 07:32:15 +0000 (02:32 -0500)]
Rename GdkAppLaunchContextX11 to GdkX11AppLaunchContext

15 years agoRename GdkDragContextX11 to GdkX11DragContext
Matthias Clasen [Tue, 21 Dec 2010 07:23:30 +0000 (02:23 -0500)]
Rename GdkDragContextX11 to GdkX11DragContext

15 years agoDon't export gdk_x11_cursor_finalize
Matthias Clasen [Tue, 21 Dec 2010 06:43:08 +0000 (01:43 -0500)]
Don't export gdk_x11_cursor_finalize

15 years agoGet abicheck to almost pass again
Matthias Clasen [Tue, 21 Dec 2010 06:41:51 +0000 (01:41 -0500)]
Get abicheck to almost pass again

15 years agoRename x11-specific GdkDevice[Manager] implementations
Matthias Clasen [Tue, 21 Dec 2010 06:32:01 +0000 (01:32 -0500)]
Rename x11-specific GdkDevice[Manager] implementations

Make them all fit in the gdk_x11_ prefix, and make the
get_type functions and standard macros available in headers.

15 years agoRename GdkDevice[Manager]Core to GdkX11Device[Manager]Core
Matthias Clasen [Tue, 21 Dec 2010 04:59:07 +0000 (23:59 -0500)]
Rename GdkDevice[Manager]Core to GdkX11Device[Manager]Core

This is mainly to avoid clash with the classes of the same
name in the quartz backend.

15 years agoRename GdkKeymapX11 to GdkX11Keymap
Matthias Clasen [Tue, 21 Dec 2010 04:32:48 +0000 (23:32 -0500)]
Rename GdkKeymapX11 to GdkX11Keymap

And add a gdkx11keys.h header file.

15 years agoRename GdkDisplayManagerX11 to GdkX11DisplayManager
Matthias Clasen [Tue, 21 Dec 2010 04:14:47 +0000 (23:14 -0500)]
Rename GdkDisplayManagerX11 to GdkX11DisplayManager

And add a gdkx11displaymanager.h header file.

15 years agogdk: Make GdkWindow abstract
Benjamin Otte [Tue, 21 Dec 2010 02:54:15 +0000 (03:54 +0100)]
gdk: Make GdkWindow abstract

This way backend implementors get an error if they don't set
display_class->window_type to their subclass. And that's exactly what we
want.

15 years agogdk: Use G_DEFINE_TYPE for GdkWindow
Benjamin Otte [Tue, 21 Dec 2010 02:39:32 +0000 (03:39 +0100)]
gdk: Use G_DEFINE_TYPE for GdkWindow

15 years agox11: Add a GdkX11Window class for X11 windows
Benjamin Otte [Tue, 21 Dec 2010 02:34:31 +0000 (03:34 +0100)]
x11: Add a GdkX11Window class for X11 windows

15 years agogdk: Allow display subclasses to override the type used for windows
Benjamin Otte [Tue, 21 Dec 2010 02:13:55 +0000 (03:13 +0100)]
gdk: Allow display subclasses to override the type used for windows

We want to have different window types for different displays, so we can
write code like this:

  #if GDK_WINDOWING_X11
    if (GDK_IS_X11_WINDOW (window))
      {
        /* do x11 stuff */
      }
    else
  #endif
  #if GDK_WINDOWING_WAYLAND
    if (GDK_IS_WAYLAND_WINDOW (window))
      {
        /* do wayland stuff */
      }
    else
  #endif
      {
        /* do stuff for unsupported system */
    }

This requires different GdkWindow types and we currently don't have
that, as only the GdkWindowImpl differs. With this method, every backend
defines a custom type that's just a simple subclass of GdkWindow. This
way GdkWindow behaves like all the other types (visuals, screens,
displays) and we can write code like the above.

15 years agogdk: Create windows via _gdk_display_create_window()
Benjamin Otte [Tue, 21 Dec 2010 02:06:59 +0000 (03:06 +0100)]
gdk: Create windows via _gdk_display_create_window()

THe use of this function will become visible in the next commits. But
wrapping g_object_new() is a generally a good idea anyway.

15 years agox11: Export GdkX11Screen
Benjamin Otte [Tue, 21 Dec 2010 01:40:45 +0000 (02:40 +0100)]
x11: Export GdkX11Screen

15 years agox11: Rename GdkScreenX11 to GdkX11Screen
Benjamin Otte [Tue, 21 Dec 2010 01:32:13 +0000 (02:32 +0100)]
x11: Rename GdkScreenX11 to GdkX11Screen

15 years agox11: Export GdkX11Visual
Benjamin Otte [Tue, 21 Dec 2010 01:17:04 +0000 (02:17 +0100)]
x11: Export GdkX11Visual

15 years agox11: Rename GdkVisualX11 to GdkX11Visual
Benjamin Otte [Tue, 21 Dec 2010 01:13:40 +0000 (02:13 +0100)]
x11: Rename GdkVisualX11 to GdkX11Visual

15 years agox11: Have a proper GdkVisualX11Class struct
Benjamin Otte [Tue, 21 Dec 2010 01:09:30 +0000 (02:09 +0100)]
x11: Have a proper GdkVisualX11Class struct

15 years agox11: Export GdkX11Cursor
Benjamin Otte [Tue, 21 Dec 2010 01:05:12 +0000 (02:05 +0100)]
x11: Export GdkX11Cursor

15 years agox11: typedef GdkX11Display to GdkDisplay
Benjamin Otte [Mon, 20 Dec 2010 22:43:04 +0000 (23:43 +0100)]
x11: typedef GdkX11Display to GdkDisplay

This is for compatibility reasons. We want to change APIs that operate
on X11 objects to take the X11 objects as arguments. However, this would
break a lot of APIs and we'd like to avoid this, so we play this little
trick (we will use the same trick for the other X11 objects). Also,
gobject-introspection and other bindings can correctly attach the
functions to the correct types as it is the same scheme that GDK2 used
for pixmaps, windows and drawables.

For GTK 4, we will remove this trick, so apps should properly cast their
objects right now.
Unfortunately, I don't think there is a way to use
GDK_DISABLE_DEPRECATED or similar macros to check for proper type casts
while compiling ensure compatibility with future GDK versions. I'm free
to consider them though.

15 years agox11: Export GdkX11Display
Benjamin Otte [Mon, 20 Dec 2010 18:42:53 +0000 (19:42 +0100)]
x11: Export GdkX11Display

15 years agox11: Rename GdkDisplayX11 to GdkX11Display
Benjamin Otte [Mon, 20 Dec 2010 18:20:10 +0000 (19:20 +0100)]
x11: Rename GdkDisplayX11 to GdkX11Display

Also rename all the macros etc.

15 years agox11: Rename GdkDisplayX11 to GdkX11Display
Benjamin Otte [Mon, 20 Dec 2010 16:14:04 +0000 (17:14 +0100)]
x11: Rename GdkDisplayX11 to GdkX11Display

15 years agoAPI: gdk: GDK_DISPLAY_OBJECT() => GDK_DISPLAY()
Benjamin Otte [Mon, 20 Dec 2010 16:11:00 +0000 (17:11 +0100)]
API: gdk: GDK_DISPLAY_OBJECT() => GDK_DISPLAY()

GDK_DISPLAY_OBJECT is now deprecated. No need to keep failures from
gtk1 around.

15 years agox11: Move remaining APIs into gdkx11utils.h
Benjamin Otte [Mon, 20 Dec 2010 14:55:16 +0000 (15:55 +0100)]
x11: Move remaining APIs into gdkx11utils.h

Now gdkx.h is a clean header equivalent to gdk.h.

15 years agox11: Move atom API into gdkx11property.h
Benjamin Otte [Mon, 20 Dec 2010 14:52:49 +0000 (15:52 +0100)]
x11: Move atom API into gdkx11property.h

15 years agox11: Move selection-specific API into gdkx11selection.h
Benjamin Otte [Mon, 20 Dec 2010 14:49:17 +0000 (15:49 +0100)]
x11: Move selection-specific API into gdkx11selection.h

15 years agox11: Move display-specific APIs into gdkx11display.h
Benjamin Otte [Mon, 20 Dec 2010 14:42:37 +0000 (15:42 +0100)]
x11: Move display-specific APIs into gdkx11display.h

15 years agox11: Move screen-specific API into gdkx11screen.h
Benjamin Otte [Mon, 20 Dec 2010 14:35:05 +0000 (15:35 +0100)]
x11: Move screen-specific API into gdkx11screen.h

15 years agox11: Move visual-specific API into gdkx11visual.h
Benjamin Otte [Mon, 20 Dec 2010 14:29:17 +0000 (15:29 +0100)]
x11: Move visual-specific API into gdkx11visual.h

15 years agox11: Move cursor API into gdkx11cursor.h
Benjamin Otte [Mon, 20 Dec 2010 14:25:50 +0000 (15:25 +0100)]
x11: Move cursor API into gdkx11cursor.h

15 years agox11: Split out public window API into gdkx11window.h
Benjamin Otte [Mon, 20 Dec 2010 14:22:50 +0000 (15:22 +0100)]
x11: Split out public window API into gdkx11window.h

15 years agoAPI: gdk: gdk_display_warp_device() => gdk_device_warp()
Benjamin Otte [Mon, 20 Dec 2010 14:05:47 +0000 (15:05 +0100)]
API: gdk: gdk_display_warp_device() => gdk_device_warp()

warping devices has nothing to do with displays, so putting it there
seems weird.

15 years agogdk: Move gdk_cursor_get_image() to the base class
Benjamin Otte [Mon, 20 Dec 2010 13:07:11 +0000 (14:07 +0100)]
gdk: Move gdk_cursor_get_image() to the base class

.. and make it call a vfunc on the cursor

15 years agox11: Remove duplicated docs
Benjamin Otte [Mon, 20 Dec 2010 12:57:48 +0000 (13:57 +0100)]
x11: Remove duplicated docs

They're in gdk/gdkdisplay.c now.

15 years agox11: Don't keep the display around anymore
Benjamin Otte [Mon, 20 Dec 2010 12:55:46 +0000 (13:55 +0100)]
x11: Don't keep the display around anymore

Use gdk_cursor_get_display() instead.

15 years agogdk: Move gdk_cursor_get_display() out of the backends
Benjamin Otte [Mon, 20 Dec 2010 12:47:35 +0000 (13:47 +0100)]
gdk: Move gdk_cursor_get_display() out of the backends

Now that we store the display inside the cursor, that change is obvious.

15 years agogdk: Make display a property of GdkCursor
Benjamin Otte [Mon, 20 Dec 2010 12:45:31 +0000 (13:45 +0100)]
gdk: Make display a property of GdkCursor

15 years agogdk: Make cursor-type a property of the cursor
Benjamin Otte [Mon, 20 Dec 2010 12:35:39 +0000 (13:35 +0100)]
gdk: Make cursor-type a property of the cursor

15 years agoAPI: gdk: Deprecate gdk_cursor_ref() and gdk_cursor_unref()
Benjamin Otte [Mon, 20 Dec 2010 02:27:05 +0000 (03:27 +0100)]
API: gdk: Deprecate gdk_cursor_ref() and gdk_cursor_unref()

Now that GdkCursor is a GObject, it doesn't need custom refcount
handling anymore.

15 years agotestgtk: Use g_object_unref instead of gdk_cursor_unref
Benjamin Otte [Mon, 20 Dec 2010 02:13:47 +0000 (03:13 +0100)]
testgtk: Use g_object_unref instead of gdk_cursor_unref

15 years agogtk-demo: Use g_object_unref instead of gdk_cursor_unref
Benjamin Otte [Mon, 20 Dec 2010 02:59:58 +0000 (03:59 +0100)]
gtk-demo: Use g_object_unref instead of gdk_cursor_unref

15 years agogtk: Use g_object_unref instead of gdk_cursor_unref
Benjamin Otte [Mon, 20 Dec 2010 02:14:38 +0000 (03:14 +0100)]
gtk: Use g_object_unref instead of gdk_cursor_unref

15 years agogdk: Use g_object_(un)ref instead of gdk_cursor_(un)ref
Benjamin Otte [Mon, 20 Dec 2010 02:23:44 +0000 (03:23 +0100)]
gdk: Use g_object_(un)ref instead of gdk_cursor_(un)ref

15 years agox11: Use g_object_(un)ref instead of gdk_cursor_(un)ref
Benjamin Otte [Mon, 20 Dec 2010 02:12:33 +0000 (03:12 +0100)]
x11: Use g_object_(un)ref instead of gdk_cursor_(un)ref

15 years agogdk: Make GdkCursor a GObject
Benjamin Otte [Mon, 20 Dec 2010 02:09:31 +0000 (03:09 +0100)]
gdk: Make GdkCursor a GObject

Also port the X11 implementation. Win32 and Quartz need to be ported
still.

15 years agogdk: Move GdkCursor definition into a private header
Benjamin Otte [Mon, 20 Dec 2010 01:20:48 +0000 (02:20 +0100)]
gdk: Move GdkCursor definition into a private header

15 years agox11: Move GdkCursorPrivate into the C file
Benjamin Otte [Mon, 20 Dec 2010 01:07:27 +0000 (02:07 +0100)]
x11: Move GdkCursorPrivate into the C file

15 years agox11: Use public API to access cursor's xcursor
Benjamin Otte [Mon, 20 Dec 2010 00:56:07 +0000 (01:56 +0100)]
x11: Use public API to access cursor's xcursor

15 years agoDowngrade some Since tags
Matthias Clasen [Fri, 17 Dec 2010 06:48:12 +0000 (01:48 -0500)]
Downgrade some Since tags

15 years agoAdd win32 implementation for foreign window functions
Matthias Clasen [Fri, 17 Dec 2010 05:46:04 +0000 (00:46 -0500)]
Add win32 implementation for foreign window functions

15 years agoDrop sm_client_id implementation for Quartz
Matthias Clasen [Fri, 17 Dec 2010 05:43:07 +0000 (00:43 -0500)]
Drop sm_client_id implementation for Quartz

15 years agoDrop sm_client_id win32 implementation
Matthias Clasen [Fri, 17 Dec 2010 05:41:55 +0000 (00:41 -0500)]
Drop sm_client_id win32 implementation

15 years agoReinstate the correct field value
Matthias Clasen [Fri, 17 Dec 2010 05:04:17 +0000 (00:04 -0500)]
Reinstate the correct field value

15 years agoDeal with property encoding functions
Matthias Clasen [Fri, 17 Dec 2010 04:44:50 +0000 (23:44 -0500)]
Deal with property encoding functions

Move everything dealing with compound text to be X11 specific
Only gdk_text_property_to_utf8_list and gdk_utf8_to_string_target
are kept across backends, so add vfuncs for these.

Also, remove the non-multihead-safe variants of all these.

15 years agoAvoid unnecessary use of gdk conversion routines
Matthias Clasen [Fri, 17 Dec 2010 02:45:57 +0000 (21:45 -0500)]
Avoid unnecessary use of gdk conversion routines

We can use use gtk_selection_data_get_uris, instead of
manually doing the conversion ourselves.

15 years agoAdd a vfunc for gdk_selection_convert
Matthias Clasen [Fri, 17 Dec 2010 01:25:32 +0000 (20:25 -0500)]
Add a vfunc for gdk_selection_convert

15 years agoAdd a vfunc for gdk_selection_property_get
Matthias Clasen [Fri, 17 Dec 2010 01:10:11 +0000 (20:10 -0500)]
Add a vfunc for  gdk_selection_property_get

15 years agoAdd a vfunc for gdk_selection_send_notify_for_display
Matthias Clasen [Fri, 17 Dec 2010 00:58:07 +0000 (19:58 -0500)]
Add a vfunc for gdk_selection_send_notify_for_display

15 years agoRename some private x11 backend functions to _gdk_x11
Matthias Clasen [Fri, 17 Dec 2010 00:26:05 +0000 (19:26 -0500)]
Rename some private x11 backend functions to _gdk_x11

15 years agoAdd vfuncs for get/set_selection_owner
Matthias Clasen [Fri, 17 Dec 2010 00:22:44 +0000 (19:22 -0500)]
Add vfuncs for get/set_selection_owner

15 years agoAdd vfuncs for keyval and window property functions
Matthias Clasen [Fri, 17 Dec 2010 00:00:01 +0000 (19:00 -0500)]
Add vfuncs for keyval and window property functions

The keyval functions should really be generic, and the window
property api should be completely revisited, but for now this
will allow us to proceed.

15 years agoDrop g[dt]k_set_locale
Matthias Clasen [Thu, 16 Dec 2010 16:33:43 +0000 (11:33 -0500)]
Drop g[dt]k_set_locale

These functions were essentially just calling setlocale anyway.
The X11 version was also setting a gdk_use_mb variable that
is not used anywhere.

15 years agoDon't use gtk_set_locale
Matthias Clasen [Fri, 17 Dec 2010 04:42:17 +0000 (23:42 -0500)]
Don't use gtk_set_locale

15 years agoAdd vfuncs for gdk_test apis
Matthias Clasen [Thu, 16 Dec 2010 06:21:49 +0000 (01:21 -0500)]
Add vfuncs for gdk_test apis

15 years agoAdd vfuncs for atoms
Matthias Clasen [Thu, 16 Dec 2010 05:37:39 +0000 (00:37 -0500)]
Add vfuncs for atoms

15 years agoAdd a vfunc for gdk_keymap_get_for_display
Matthias Clasen [Thu, 16 Dec 2010 05:08:42 +0000 (00:08 -0500)]
Add a vfunc for gdk_keymap_get_for_display

15 years agoRename private keymap symbols to _gdk_x11_keymap...
Matthias Clasen [Thu, 16 Dec 2010 04:49:31 +0000 (23:49 -0500)]
Rename private keymap symbols to _gdk_x11_keymap...

15 years agoRename the _gdk_xid_table functions
Matthias Clasen [Thu, 16 Dec 2010 04:35:15 +0000 (23:35 -0500)]
Rename the _gdk_xid_table functions

15 years agoRemove gdk_net_wm_supports
Matthias Clasen [Thu, 16 Dec 2010 04:18:38 +0000 (23:18 -0500)]
Remove gdk_net_wm_supports

This function is totally misnamed, only operates on the default
screen, and has a perfectly fine replacement in
gdk_x11_screen_supports_net_wm_hint.

15 years agoRemove the --sync commandline option
Matthias Clasen [Thu, 16 Dec 2010 04:11:21 +0000 (23:11 -0500)]
Remove the --sync commandline option

Remove the --sync option and remove the possibility of backend-specific
commandline options altogether. --sync is being replaced by
a GDK_SYNCHRONIZE environment variable.

15 years agoRemove unused _gdk_use_xshm global
Matthias Clasen [Thu, 16 Dec 2010 03:45:37 +0000 (22:45 -0500)]
Remove unused _gdk_use_xshm global

15 years agoRename _gdk_window_move_resize_child
Matthias Clasen [Thu, 16 Dec 2010 03:21:39 +0000 (22:21 -0500)]
Rename _gdk_window_move_resize_child

Rename _gdk_window_move_resize_child and _gdk_window_process_expose
to _gdk_x11.

15 years agoClean up gdkx.h a bit
Matthias Clasen [Thu, 16 Dec 2010 03:09:35 +0000 (22:09 -0500)]
Clean up gdkx.h a bit

Moving the direct-access redefinitions of various macros
to gdkprivate-x11.h and use that header throughout in x11/.

Also remove a workaround for a long-fixed X server bug.

15 years agodrop dead function
Matthias Clasen [Thu, 16 Dec 2010 01:56:32 +0000 (20:56 -0500)]
drop dead function

15 years agoAdd a vfunc for _gdk_window_impl_new
Matthias Clasen [Thu, 16 Dec 2010 00:07:36 +0000 (19:07 -0500)]
Add a vfunc for _gdk_window_impl_new

15 years agoGet rid of the _gdk_selection_property global
Matthias Clasen [Wed, 15 Dec 2010 23:42:38 +0000 (18:42 -0500)]
Get rid of the _gdk_selection_property global

15 years agoRename _gdk_moveresize functions to _gdk_x11_moveresize
Matthias Clasen [Wed, 15 Dec 2010 22:55:04 +0000 (17:55 -0500)]
Rename _gdk_moveresize functions to _gdk_x11_moveresize

15 years agoDrop gdkx_visual_get
Matthias Clasen [Wed, 15 Dec 2010 22:48:13 +0000 (17:48 -0500)]
Drop gdkx_visual_get

The function is badly named, not multihead-safe, basically unused,
and has a better replacement with gdk_x11_screen_lookup_visual.

15 years agoRename _gdk_xgrab_ apis to _gdk_x11_window_
Matthias Clasen [Wed, 15 Dec 2010 22:45:05 +0000 (17:45 -0500)]
Rename _gdk_xgrab_ apis to _gdk_x11_window_

15 years agoRename _gdk_send_xevent to _gdk_x11_display_send_xevent
Matthias Clasen [Wed, 15 Dec 2010 22:38:48 +0000 (17:38 -0500)]
Rename _gdk_send_xevent to _gdk_x11_display_send_xevent

15 years agoRename _gdk_event_mask_table to _gdk_x11_event_mask_table
Matthias Clasen [Wed, 15 Dec 2010 22:32:29 +0000 (17:32 -0500)]
Rename _gdk_event_mask_table to _gdk_x11_event_mask_table

15 years agoMultiple changes to reduce the amount of unprefixed symbols
Matthias Clasen [Wed, 15 Dec 2010 19:49:23 +0000 (14:49 -0500)]
Multiple changes to reduce the amount of unprefixed symbols

The X11 backend exports a number of symbols which are _-prefixed
(so don't become part of the gdk api), but are not named in a
way to prevent accidental clashes between backends.

The one API change here is that the gdk_xid_table functions
have been removed - they did not server an purpose, since the
xid table only stores windows anyway, and we already have a
lookup-by-xid function for windows.

15 years agoplug: Comment hack for xinput that used private x11 backend API
Benjamin Otte [Fri, 17 Dec 2010 23:41:13 +0000 (00:41 +0100)]
plug: Comment hack for xinput that used private x11 backend API

15 years agoMove event source apis to gdk_x11
Matthias Clasen [Wed, 15 Dec 2010 17:25:38 +0000 (12:25 -0500)]
Move event source apis to gdk_x11

Reduces the changes of cross-backend collisions

15 years agoRemove gdk_spawn functions
Matthias Clasen [Wed, 15 Dec 2010 13:06:44 +0000 (08:06 -0500)]
Remove gdk_spawn functions

These functions were trivial g_spawn wrappers in all backends
except for X11, and they can be easily replaced by
g_app_info_create_for_commandline + GdkAppLaunchContext.

15 years agoDon't use gdk_spawn
Matthias Clasen [Wed, 15 Dec 2010 07:38:43 +0000 (02:38 -0500)]
Don't use gdk_spawn

Replace the sole use of gdk_spawn in GTK+ by GAppInfo.

15 years agoWork around issues with events without screens
Matthias Clasen [Wed, 15 Dec 2010 07:37:52 +0000 (02:37 -0500)]
Work around issues with events without screens

Just use the default display for copy/free of event data.
Maybe the vfuncs should be moved to GdkDisplayManager.

15 years agoMake GdkAppLaunchContext work again
Matthias Clasen [Wed, 15 Dec 2010 07:37:03 +0000 (02:37 -0500)]
Make GdkAppLaunchContext work again

We didn't set the display, ever. Add a construct-only property
for this purpose.

15 years agoConsistently use per-display error traps in the X11 backend
Matthias Clasen [Wed, 15 Dec 2010 07:05:05 +0000 (02:05 -0500)]
Consistently use per-display error traps in the X11 backend

15 years agoMake gdk_window_{lookup,foreign_new}_for_display backend specific
Matthias Clasen [Wed, 15 Dec 2010 06:39:30 +0000 (01:39 -0500)]
Make gdk_window_{lookup,foreign_new}_for_display backend specific

At the same time, make GDK_IS_DISPLAY_X11 available in gdkx.h, and
add some exemplaric ifdefs to GTK+ code.